package com.example.demo01.mapper;


import com.example.demo01.controller.request.LoginRequest;
import com.example.demo01.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface UserMapper {

    //@Select("select * from user")
    List<User> listUser();

    User getByUsernameAndPassword(LoginRequest request);
}
